package cn.bdqn.fourth;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Description TODO
 * @Date 2020/2/12 10:29
 * @Created by 张三三
 */
public class Demo {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app =
                new ClassPathXmlApplicationContext("applicationContext-1.xml");

        Test test = app.getBean(Test.class);
        System.out.println("test.getList() = " + test.getList());

        System.out.println("test.getMap() = " + test.getMap());

        System.out.println("test.getProperties() = " + test.getProperties());


    }

}
